======================================================================
AP2222PC Interface Cable Line Connection Diagrams (LINECONN.DOC)
----------------------------------------------------------------------
  Edited 2016 (for personal use) by: James Davis, Beagle Buddy #227.
======================================================================

How to connect lines between an IBM-PC and an Apple-II

1. Apple-II Game I/O Port Pins

        ^ Keyboard side ^                An Apple-II user will see
           .---.__.---.                        .----------.
       +5  |01      16| N/C                N/C |09      08| GND
       PB0 |02      15| ANN0        (JS1Y) GC1 |10      07| GC2 (JS2X)
       PB1 |03      14| ANN1        (JS2Y) GC3 |11      06| GC0 (JS1X)
       PB2 |04      13| ANN2              ANN3 |12      05| /Strobe
   /Strobe |05      12| ANN3              ANN2 |13      04| PB2
(JS1X) GC0 |06      11| GC3 (JS2Y)        ANN1 |14      03| PB1
(JS2X) GC2 |07      10| GC1 (JS1Y)        ANN0 |15      02| PB0
       GND |08      09| N/C                N/C |16  __  01| +5
           '----------'                        '---'  '---'
       Motherboard back side               since keyboard is in
                                              this direction
2. IBM-PC Parallel Port 25-Pins

Buy a 25-Pin "jump wire connector" (for RS-232 is ok; both are 25-Pin)

        ,----------------------------------------------------.
        \ 13  12  11  10  09  08  07  06  05  04  03  02  01 /
         \  25  24  23  22  21  20  19  18  17  16  15  14  /
          `------------------------------------------------'

3. Line connection (9 lines total)

----------------------------------------------------------------------
Apple-II Port  I/O  IBM-PC Port           Function
-------------  ---  ------------------    ----------------------------
  GND  Pin-08  <->  Pin-25  GND          SIGNAL (NOT SHIELD) GROUND 
  PB0  Pin-02  <--  Pin-02  +D0 output    Apple-II input handshake for
                                          Apple-II -> IBM-PC transfer
                                          Apple-II input data bit 0
  PB1  Pin-03  <--  Pin-03  +D1 output    Apple-II input data bit 1
  PB2  Pin-04  <--  Pin-04  +D2 output    Apple-II input data bit 2
  GC0  Pin-06  <--  Pin-05  +D3 output    Apple-II input handshake for
                                          IBM-PC -> Apple-II transfer
 ANN0  Pin-15  -->  Pin-15  -Err input    Apple-II output data bit 0
 ANN1  Pin-14  -->  Pin-13  +Sel input    Apple-II output data bit 1
 ANN2  Pin-13  -->  Pin-12  +PE  input    Apple-II output data bit 2
 ANN3  Pin-12  -->  Pin-10  -Ack input    Apple-II output handshake
----------------------------------------------------------------------

Uses a jump wire connector, and 9 wires of a 16-Pin DIP connector plug

======================================================================
